<template>
<div>
  <el-button @click="request">请求hello/01</el-button>
</div>
</template>

<script>
export default {
  name: "HelloVue",
  methods:{
    request(){
      this.$http.get('/hello/01').then((data)=>{
        this.$alert(data)
      })
    }
  }
}
</script>

<style scoped>

</style>